package cc.chengheng.java代码测试.循环依赖的例子2;

public class Client {
    public static void main(String[] args) {
        ServiceAA serviceA = new ServiceAA();
        ServiceBB serviceB = new ServiceBB();

        serviceA.setServiceB(serviceB);
        serviceB.setServiceA(serviceA);
    }
}
